<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type = "text/javascript">
    window.onload = function(){
        var divObj = document.createElement("div");
        var textNodeObj = document.createTextNode("我爱你，zhz");
        divObj.appendChild(textNodeObj);
        document.body.appendChild(divObj);
    }
    </script>
</head>
<body>

</body>
</html>